package com.niiwoo.civet.trade.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 人工审核结果枚举
 * @author TomXue
 * @since 2018-02-28
 *
 */
@Getter
@AllArgsConstructor
public enum ManualAuditResultEnum {
    PASS((byte)1,"通过"),
    NO_PASS((byte)2,"不通过"),
    RETURN((byte)3,"退回");

    public static ManualAuditResultEnum enumOf(byte value) {
        for (ManualAuditResultEnum statusEnum : values()) {
            if (statusEnum.value.equals(value)) {
                return statusEnum;
            }
        }
        return null;
    }
    private Byte value;
    private String desc;
}
